
export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
    dialogClickModal: false,
  stripe: true,
  menuAlign: 'center',
  menuWidth: 150,
  align: 'center',
  refreshBtn: true,
  searchMenuSpan: 6,
  showClomnuBtn: false,
  searchSize: 'mini',
  addBtn: false,
  editBtn: false,
  viewBtn: true,
  show: false,
  props: {
    label: 'label',
    value: 'value'
  },
  column: [{
    label: '类型',
    prop: 'type',
    type: 'select',
    dicData: utils.getDict('log_type'),
  }, {
    label: '标题',
    search: true,
    prop: 'title'
  }, {
    label: 'IP地址',
    prop: 'remoteAddr'
  }, {
    label: '请求方式',
    prop: 'method',
      type:'select',
      search: true,
      dicData:[
          {
              value:'POST',
              title:'POST'
          },
          {
              value:'GET',
              title:'GET'
          }
      ]

  }, {
    label: '操作人',
    search: true,
    prop: 'createBy'
  }, {
    width: 130,
    label: '请求时间(毫秒)',
    prop: 'time'
  }, {
    width: 150,
    label: '创建时间',
    prop: 'createTime',
    type: 'datetime',
    format: 'yyyy-MM-dd HH:mm',
    valueFormat: 'yyyy-MM-dd HH:mm:ss'
  },
  {
    label: '请求参数',
    prop: 'params',
    type: 'textarea',
    minRows:2,
    span: 24,
    hide: true
  },
  {
    label: '异常信息',
    prop: 'exception',
    type: 'textarea',
    span: 24,
    hide: true
  }
]
}
